{% extends "base.html" %}

{% block title %}那年那些老师{% endblock %}
{% block content %}
<div class="container">
	<br/>
	<h2>那些有人给他们写介绍的老师</h2>
	<br/>
	<div class="container-fluid">
		<div class="row">
			{% for tea in tea_t %}
				<div class="col-md-3">
					<a class="btn btn-link" role="button" 
							href="{% url 'teacher:look' tea.teacher_id %}">{{ tea.name }}</a>
				</div>
				{% if forloop.counter|divisibleby:4 %}
					<br/><br/>
				{% endif %}

			{% endfor %}
		</div>
	</div>
	
	<br/><br/><br/><br/>

	<a class="btn btn-primary" role="button" href="{% url 'teacher:editor' %}">为其他老师写介绍！</a>
</div>
{% endblock %}
